fixed bug with third column