replace [ ] with [ [] -a [] ]