fix tpt.message_box, fix compiling error