fixed app2 for multiple sensors