fix bug
Merge branch 'master' into cygwin