Correct bug on loading context and redis