fix param reference