little auto detect fix