removed focusLost method