added try catch for asset resource problem I has