wrong use of move constructor