fixup ps1 integration issues.