error UI handling enhancements