Revert 8446e16346ece5a934550f69e81d0cad528f7fba. It broke the WebUI.