Fix error when click on error log tab