rename nested to compound