translate sex value
fix migrate_db and require dataset for importing db