fixed where the bin db is initted