bugs in pagination. add some style