Fixed bug in q3c