Fixed exit added