Add protection for sensor display