added winsize refresh & globstar