Clearing elements went wrong
Some errors in quant db generation