Edge 540 - Climb pro: wrong start and end of a climb

Hi, on my new Edge 540 I enabled the Climb Pro feature and calibrated the device appropriately (compass and altitude).

I'm disappointed because the start and end of the climb reported by the Edge are always wrong: the Edge reports the end of the climb long before the actual end.

How can I correct this behavior?

Thanks for your advices