Fix #215 escape loop