resize after refresh
new layout, fix bugs