Fixed a bug in the multiuser environment