fixed afsel for portg