change focus to type error