bug fixes for front end pagination