fixed race condition on MtPrint