remove template
refactor check spec