fix bug in redirect where it was not portable
fix bug in redirect where it was not portable

adderan/sonLib,benedictpaten/sonLib,benedictpaten/sonLib,benedictpaten/sonLib,adderan/sonLib,adderan/sonLib,benedictpaten/sonLib,benedictpaten/sonLib,adderan/sonLib,adderan/sonLib