fix custom objects and fields creation