fixed for potential crash during saved game loading