Fixed recording problem