fixed m/j/k crash when used on empty page