fix pass input and conn string