fix param issues