Fixed -1 metadata in commandGive