fixed global user issue