fix error message and add repo copying/label making