fix by #167
Merge pull request #1909 from xboston/patch-4

fix from phalcon-devtools