fix some parameter problems which are inconsistent  with the comment