small code optimization

using std::move now