Fix preferences