fixing recording toggle