ps1: fix setting string