Fixed bug by regexing for Exiting