undefined and missed asset fixes