trying to fix error population issues