revert previous fix, as it has broken random sensor