correcting a few entity variables