updated error on creating cache for session