While loop prison break fix