error ui/case improved.