fixing warnings on base sql setup