- fix crash with not existing priorities