fixed keyboard stuff