fix incorrect append usage