Removed exit bug.