quick fix for nested objects