fixed bugs in PUT and OPTIONS