bug fix to parsing function columns