fixed issues with 2 db folders, added pins