priority inversion fix
priority stuff