fixed pagination and collection pages