param bug fix