fixed extra copy