fix accessor
Merge pull request #13 from jfut/fix-accessor

Thanks!