removes deprecated sensor flag