changed error output to string
fixed quotes