fixed pdo exeption for hook_install()