bug fixes for show git log on detail pages feature