add ignore for inputs
fixed traceback methods math
added checking for match overlaps