Replaced sidenotes to generated, still need fix