fixed bug in Entities.(...)