added sanitizing inside the string to command reader