Fix for the galleries