fixed minor bug with alt-key handling