nullpointerbugfix