fixed error in simple_search redmine #1922