Fix wrong history assignment and wrong use of metadata
Fix wrong history assignment and wrong use of metadata

rrrene/echidna,rrrene/echidna,w3c/echidna,catataw/echidna,rrrene/echidna,w3c/echidna,catataw/echidna,w3c/echidna,catataw/echidna