Fix inconsistent spacing and tabs