still trying to fix refresh