Gallery fixes.