workaround for redirect Problem