fix runtime error c++ in quickboks desktop