webinterface: fixed assertion