strange behaviour: how image property is passed by backend function

solved! If I move the following code:

let pizzaImg=pizzaList[0].pizzaPic
 
        $w('#image1').src=pizzaImg
        $w('#image1').show

before (and not after as it was originally)

$w('#menu').rows=pizzaList
        $w('#menu').show

        console.log('frontend')
        console.log(pizzaList[0].pizzaPic)

it works. I don’t understand reason why. but works