fixed sensor adding