Fix error message about missing ui elements.