Fix hatch with function param.