fix spec path
add spec and template base template