fixed pagination #179