fix sample corruption on key press, single mode