fix nested objects create