fixed a bug with powershield