attempt to fix my refresh problem