fixing refresh button