fix preferences spec