added error trapping for bad WMIC requests