Should fix the problem of double recordings