preserve priority when editing