trying to fix the OPTIONS processing