Thanks to all for the answers, finally I've got it working fine