fix issue where deployment parent was not set