fix the bug that displays number 0 in the already cleared cells

The cells cleared are still filled with number 0. This PR fixes it.