bugfix in sessions metric