fixed key bindings for expand/contract region and redu/undo