fix search results page and create_from_rotten method