Some fail safe handling