fix clearing content