fix bug in autodetection of version of spotter