fuck flowtype. Also added proper backspace support