reverting changes due to curl error when using proxy