fix method accessor error