extract end detector