python formula fix