modified some image problems