fixing active/inactive swapped values. and temporarily hiding values