Clean assets code