Fixed exception with invcreate