[webui] some fixes for recent gems