fixed a bug if two methods match on parameters but not method signature