make nested properties work better