detect duplicate priorities