updated caps lock behavior.