change the way enter is handled on IE
remove debug