Add galleries and fix parser error