auto detect for type 11