fixed the multi user problem