fixed: spaces in gallery names doesn't work