fixup small formatting

Replaces #6364 - I've addressed the feedback for @richarvey