support anchor-center API