fix deployment flag