Fix db params