fixed -list-targets delay issue