fixed various bugs with suggestionpopup