Code improvement

- Remove unused local variable in rotate_left function
- Replace deprecated unescape function