fix bug on context_processor