clean up wp gallery output