Invalid variable reference. '$' was not followed by a valid variable name character. Consider using ${} to delimit the name. ...