fixes some focusing errors