Fixing no index column error