fixed the detailed view cintroller bug