Fix undefined methode