fix for redirect 301