fix create_tag function

The interface has been used for construction. Found this while porting Julietta to the new API. Since I now have commit rights on JuliaLang: Should I merge smaller fixes?