template missing error solved