fix \n bug in galleria