fix bug anchor-layer