fixed syntax in profile.py line 348
Merge remote-tracking branch 'mine/patch-1' into initial_flow