fixing asset logic