Priorities duplicate bug fixed