fix variable name for command string