check for phalcon extension
small improvements