Added default errormessage when not template found