datanab fix and debug output added to identify sensors used