mike fixing refresh button issue