fixed keyboard problems