fix horizonta_subform when parent is nil