revert r4802 (try with auto_guess if first detection fails)