updated pyclaw routine to correct tabs a