fix habitat.map for dr .. datarange not working with mr, smr