fixed accepts nested attributes for solution