fix setFocus