fix flickering spec