fixed shortcut c when login modal appears