fix for double creation of deployment objects upon deployment