fixed priority setting in DB