fixes for switch to iTerm