fix wrong uses and non uses of dollar sign