fix null reference error when recovering craft