[webui] disagreement that this function is not readable anymore :(