Functions exists checks for different function...

It didn't make sense to me to check for a different function name... so here's a little fix.
Merge pull request #1 from xewl/patch-1

Functions exists checks for different function...