fix bug in makepalin_oracle.py