fix cached variable preventing serial no. search