priority bug fixed