Quick fix for displaying errors