Fixed a priority bug