remove cookie dependency