Fixed cros platform issue