applies some styling fixes