Version 0.5.0.

Fixed the bug with an out-of-bound page number.