Fixed func param resolving.