fixed redirect without callbacks