error handling on epic views
unit testing and defect fixes