fixed the  details template error