fix unix warning