Fixed bug where id is not specified using label output.