fix param conversion