Fix problem with displayPrevius