fixed redirect after reset