Fix degrade codes