changed error on com to debug message