fix null ref on NER returnToPrevPage