redirect error solved