fixed some stylecheck complaints