Edge 820 - Unstable Grade measure during ascent

Why my Edge 820 has such a poor grade reading in particular during ascents? It starts more or less correctly and then all of a sudden it drops to zero! How to fix this? Thanks