bug message amount not counting