mthread fix error filename