fix cors proxy status code