fixed bug on entiry new