prevent crash on bad priority