fixing issue with incorrect column name