fix pageup/pagedown searching command history
minor fix