fixes proxy issue