Fix gallery routes