Bug fix with authorization.