database priority fixed