error fixes user message and django global var