fix bug with upper case in Windows