fix proxy state loading bug when key not present