fix decorator name inferring