fix to work with entity 0.7
Merge branch 'master' of github.com:rikulo/access