Fixed small deploy all targets bug