fix mainGuest acces