fix non service methods call like toString() (caused NPE).