procedural errors in court