trying to fix video appending issue