- Fixed for infinite loop.
- Fixed error.