Made some changes.... now its working perfect xD