remove unused param in Parser