nomnoml: fixed bug with discard link