adding resolution for saving nested attributes (post with comment)