a hack to bypass preflight requests