Thanks Wayne Dixon. I actually had both of the things, deform and armature. So i just cleared the parenting and started from parenting again and it worked. So, there might be something wrong with parenting. Thanks again for your reply. It means alot for me.