Refine code: tab to 4 spaces