fix url issue in detail page