call other method when record finish
fix issue with recording