fixed refreshValues