fixed inheritance of method call