fixed preferences loading when multiple projects are active