fix connect string for Flask