solving that nasty keyrepeat issue