create is working after some debugging

found out that :type can’t be a table header without some hacking.