Fix flash on load