fix array expansion with bash voodoo i have yet to understand.