check target format