fix conversion script to consider nil values
fix bug when joining user group