fixed a bug in the refresh button