fixed pagination appearance issue