added fix for creating duplicatedmultiple sensors