fixed race issues in demographics