Fix a bug of using rvalue.