fix inheritance access. #47