fixed error in Entities namespace