First tab works trying to work on detail view