fixing reopening db, clipboard and fixing guide