pagination style & error style bugfix