I'm glad that the fish is doing better. As was mentioned previously, scales are typically knocked off due to trauma, but diseases (such as parasites) can lead to "flashing", where a fish will try to scratch itself, and it can also be caused by poor water quality. Have you noticed any flashing?