fixed `methods_` bug