some fixes add db