fixes bugs within reload state
adds global cache functionality