allow serialization of undefined
remove var-needed message since fixRules is broken