cleaning up with quit option