dc.php bugs of nav-pills and wrap id fixed