commenting try catch to see actual error in getwid