Remove unnecessary defer