fixed invalid finished emit signal