fix(item.details) using variable in the right place