validate nested properties