Template does not exist error added