reformat code to fix tabs vs space mismatch