null safety, fixes #118
fix npe in itemactivity, fixes #119