avoid the escape bug