fixed a rvalue reference compiling issue