complete exit