fixed detail.html, profile.html

changing tables