removed wrong exit