[bug] fix pin ptable setting
[bug] fix move up window index