small bugfix for bulk deploy