mw_sql multi use fix.