no i am getting error in that particular lines only.i commented out those and it worked properly.i cannot figure it out why