[FIX] display errors correctly