image cache bugfix