fixed quoteDB @ lab7
fixed 5.7 & 5.8