fix stylr and pagination