fix made to sql arguments