correcting bug MSYS