get  value in the window provider