in details template, fixing errors