fixed redirect marking as active