Removed bug in OPTIONS request