fix initialization of preferences