fixed db and scripts/stable