fix params for TPB branch. fix #187