fixed saved settings redirect issue