null check when parsing save file