cleanup on the .then interface