changed sensor delay