bug: did not clear databases