fix name option inheritance