fix disabled pagination