bug fixed for statement.IdParam