fixed bug with global range select example