fix show gender display and fix type residence into export
fix #51