fixed some minor bugs
deleted very old db