LPS-47682 prevent an NPE