fix OPTIONS regression. fixes #573