Fix bug in method sig