fixed escape key in content mode