trying to fix descaling bug