try to fix autodetection