show red errors
fix the error logging