Fixed bug when detecting methods