use geminidb and add setting window