fixed switch detail buttons