fixing proper clock.db and fixing setup