webapp: fix problem from the previous merge