fixed get_tags for two sensor types