Fixed undefined var $cat
Fixed undefined var $cat
Merge pull request #7 from rvdforst/master

Fixed undefined var $cat