Fix for the case of that a function having a parameter named same as return type