fix readpagefromfile bugs
Merge pull request #15 from databasesystem/wq_branch

fix readpagefromfile bugs