fixed 'new' bug when matching constructor method names