For some reason, my-block variables are immediately nullified after the function even though there is no command to void it. Is there any workaround to this?