Fix parse for gallery