fix the bug in execute_inflecion.py