Fixed import template bug for templates without meta