add that line at the top of your code
Code:
DEFINE OSCCAL_1K 1
this should help