fix search_space1.R