phase1: fix leading whitespace