fixed inheritance,