those spaces before and after `[` and `]` should be removed