fix go back in preferences