prepare upgrade for htmlarea cleanup