added check in template for unfilled job-type