Corrected error in sed command for sex and tet