Added faulty conditional
deleted duplicate escape