adding flush
Merge branch 'master' of github.com:wwlian/gecko-dev