calendar elements are printed too many times to stdout