Fixed force close on register and guest