Fixed wrong inherits