fixed bug in 3Q