correcting errors in details template