do not panic if templates directory does not exist