Opening activity fixes