small bug in refresh solved