fix typo in create_links