fix paging category and fix show detail posts