fixed a copy array issue, like the one in ut_solv