fixing a bug in the getfromangular call inside of the getwid function