Unfair treatment is causing the underrepresented to leave tech