fixing onblur onfocus err