added backspace fix for mac