Fixed initialcontext problem