Fixed bugs: heat map not cleared after edits