formatting fixes for karma