some fix for python eval