cancel auto register type