fix invalid type registration