fix db creation if no ~./config, md to rst