validate nested bean