update arguments with undefined in IIFE

prevent mutation of undefined value