fixed bad variable names with hyphens