fixed Entity get_next,this cause for all Problems I've got