fixed the global user variables