fixed colname handling