pinned bug fixed