fixed keyscan