fixed composing of attributes
fixed creation of child collection