fix linux platform defect.