#1087 fix bug in ide powershell