fixed redirect config