convert variables to hyphens