updated filter for OPTIONS support