c param bug fixed