fix invalid priority value