fixing cached images problem