[fix] Just remove anything that is undefined anywhere that you encounter.
Merge pull request #8 from indexzero/fix-undefined-ref

[fix] Just remove anything that is undefined anywhere that you encounter