fix degrade bug