transform methodname to lowercase