fixed problems with parent in another assembly