remove useless type create function