Problem with default values of variables being reseted

Thanks, setting parent variables to 0 worked for me.