fixed errors so broken assets error nicely