fix bug: nested in objects isnt working