little entity bugfix
Merge pull request #108 from davvitt/issue#107

little entity bugfix