Fix bugs and overwrite the useless parameter for non-multi-thread commands