fixes hanging bug with priority estimate