fixed bug when issue priority is nil