fixed the priority crap