lib: normalize sex