fixing psTrigger error.