Fix problems due to the resistance functions stuck to their limits