temporary fix to image problems