Fixes in powershell