fix type
fix #316