strip control codes from qclass