fix completedAll bug