remove custom type: bug