bug illegal private method access