bugfix for picture cache option