corrected type and template path
corrected type and template path