fixed: problem of focus and keyboard shortcuts