fix formula python search