fix: missing mask2 variable declaration