Removed useless directory exit