remove debug notice and type selection