Gallery and Notes fix.