added input content type sniff