updated fixes for registry auto deploy