Fix for-if in "arg" function