fixed encodercd ..!