Fixed double refresh