fix constructor of GraficWork
fix search method