fix methodname bug