fixed issue with new obj.func() calls where the new keyword was not added propertly.