Issue #368

I change the format of {} in if and else for Issue # 368.