fix refresh ethod