protect potential null dependency