fix timing issue when loading layout
v0.1.1