further edits to try to get galleria working on prod