edit css and fix bug for wasted keystrokes