fixed some bug about locked layout  - 20 gen 13