Fix to checkinitialised