fixed console.error message
Fixed some inconcistencies