Fix typo in save_priorities