check cache with cacheEnabled()
check if is loaded with internal method
fix undefined index