fixing wsman calls