refactor using unframed_sql_execute
fix inverted  and  arguments