added assert to ui files and report generator file.