added a null case handler in the steam adapter