Fix missing '$' in variable name