Protections against bad index data
Fix copy to clipboard