recorder error fixed, and minor modifications