bug fix, formats after focus