Fixing gender array.