fixes column ref