Fixed detail view controller issue