error in top left instead of cursor location