fix keyboard error