consistent whitespace around square brackets