The first bug! Use priority passed by caller.