fix keyhandling in chrome