fix os environment
    use if-shell