fix in overwrite deploy strategy