fixed inheritance and config