Bug with galleries cache