is there a bug in the automatic calories adjustment feature

I went for a 5k run (350kcal burnt) and daily calories went up from 3,000kcal to 14,000kcal, yesterday I had a gym workout, a 5km run and a 2km walk and recommended calories went up to 9,000. what's going on here?