adding ui error handling