[development] problem with db_rewrite_sql