bug fixes

fixed pagination blocks