fixed a bunch of things still struggling with BUGS prios