fixes spec variable name