change detail url pattern & fix bugs.