fix bug with distance sex