version 1.1.6.11 fix lastpage logic