fixed bug with entities