adding some error on handling proxy