fix disabling highlighting on enter