Fix defer call.