fixing unit preferences