should not copy the ending 0