(sort of) fixed keyboard problem