fix parse() with undefined variables
Merge pull request #1 from 13k/master

fix parse() with undefined variables