fix data read for mapping of habitat info