fix type
fix #316
fix param to params