fixing etag precondition check