some gridpath python cleanup