Fixed bugs of detail page