fixed showing/hiding of relevant details