Fixed invalid entity variable name.