fixed bugs with bucket and article when using search.