fix pin priority