fixed formatting in code

fixed some formatting inconsistencies.