priority bugfix

priority bugfix