Resolve The Issue Of Exit Stuck In The Middle