fix running in enterprise scheme