fix problem where refreshing broke item show page: