fix bug on KeyError when Weekly report