fixed pagination, and loading of template blocks on cold load (temp solution)