standardize code format