fixing syntax issues --- bash is really REALLY particular about its spaces