Gallery, fix gallery tmb