fix spring detection