WIP: prevent illegal downgrade