fixed filesSaved event firing