fixed error with bootstrap pagination