fixed q and qu problem in displaying results