'a' toggle for displaying value fixed.

code cleanup still needed