fix assets, layout, and codes