fix bug of check system paltform