fixing row vs column issue