close highlight block properly