guard against possibly missing API fields