fixed non-static methods call