re-added escape mode