fix create api
Merge branch 'master' of github.com:AlloVince/phalcon