fixes bad variable name