fix Defer configs done callback