Casting to widget and setting node, getting error

even after I change the tick for begin play I still get the error