make code clean(connectSQLMR)