changes for new search
fixed dynamic graphs