fix message count in navigation