Fixing failed deployment