convert method name to lowercase