trying to fix refresh