Avoid potential crash on cache