Fixed double refresh on load