excep handling. ui changes