implemented fix for /W (upper case)