fixed visibility for inheritance