compensate for extra whitespace in commands