fix cursor miss