fixed image not showing up right away