fixed variable names in spec