fix extra whitespace in system() command