fix refresh bug on sender