preferences fixes